<script type="text/javascript" src="../Public/js/nodefire.js"></script>
<!--[if lte IE 6]><style type="text/css">.nfPure .nfItem{width:0px;}</style><![endif]-->
<!--[if lte IE 7]><style type="text/css">.nfMain,.nfMain .nfLink,.nfMain .nfSubS{zoom:1;}.nfPure .nfLink:hover{z-index:1101;}.nfPure .nfItem{display:inline !important;}</style><![endif]-->
<style type="text/css">
.nfMain, .nfSubC, .nfSubS{list-style:none;margin:0px;padding:0px; margin-left:0;}
.nfMain{position:relative;z-index:1; width:705px; margin-left:0px;}
.nfMain .nfSubC{visibility:hidden;position:absolute;}
.nfMain .nfItem, .nfMain .nfLink{list-style:none;position:relative;display:block;white-space:nowrap;margin:0px;}
.nfMain:after{content: ".";display:block;height:0px;clear:both;overflow:hidden;}
.nfPure .nfItem:hover, .nfPure .nfItem:hover>.nfSubC{z-index:1101;visibility:inherit;}
.nfPure .nfLink:focus{z-index:1102;}
.nfMain .nfJSActiveItem{z-index:1101;}
.nfMain .nfJSShowSub{z-index:1101;visibility:inherit;}
.nfMain .nfItem div.nfLink {cursor:default;}
.nfMain .nfItem {float:left;}
.nfMain .nfItem .nfItem {float:none;}
.nfMain .nfItem .nfSubC {top:100%;left:0px;width:auto;}
.nfMain .nfSubC .nfItem .nfSubC {top:0px;left:100%;width:auto;}
.nfLink a:link{color:#930; text-decoration:none;}
.nfLink a:visited{color:#930; text-decoration:none;}
.nfLink a:hover{color:#339;}
.nfLink a:active{color:#339;}
</style>
<link rel="stylesheet" href="../Public/css/styles.css" type="text/css">	
<div style="width:1003px; height:99px;"><img src="../Public/image/headerbg.jpg" /></div>
<div style="float:left; width:299px; height:32px;"><img src="../Public/image/logo.jpg" /></div>
<ul id="myMenu" class="nfMain nfPure" style="float:left; margin-left:-2px;">
	<?php
	
	for($i=0;$i<count($part);$i++){
		
		if($part[$i]['pid'] == 0){
		echo '<li class="nfItem">';
			echo '<div tabindex=0 class="nfLink"><a href="__APP__/'.str_replace(':','/',$part[$i]['listhtml']).'/partId/'.$part[$i]['id'].'">'.$part[$i]['cname'].'</a></div>';
		}else{
			echo '<dl class="nfSubC nfSubS">';
			$pcat = $part[$i-1]['id'];
			foreach($part as $vo){
				if($pcat == $vo['pid']){
					$i++;
					echo '<dd class="nfItem"><a class="nfLink" href="__APP__/'.str_replace(':','/',$vo['listhtml']).'/partId/'.$vo['id'].'">'.$vo['cname'].'</a></dd>';
				}
			}
			$i=$i-1;
			echo '</dl>';
		}
		if($i+1<count($part) && $part[$i+1]['pid']==0){
			echo '</li>';
		}
		
	}
	echo '</li>';
	?>
</ul>
<div style="clear:both;"></div>


    <!--banner1开始-->
    <div id="banner1" style="z-index:111;">{$adarray.index_xxgg.content}</div>
    <!--banner1结束-->


<script type="text/javascript">
var config = {showTimerMS:250,hideTimerMS:250};
var myMenu = new NF.widget.menu("myMenu", config);
var clip = new NF.anim.clip({clip:{start:{value:'50% 50% 50% 50%', refNode:"self"}, end:{value:'0% 100% 100% 0%', refNode:"self"}}}, {frames:6,reset:true,hook:"NFplayOnSubShow"});
var subAnim_Show_Replicator = new NF.replicator("transition", {master:clip,widgetClass:"nfSubC",widgetLevel:'level>=1'});
myMenu.addReplicator(subAnim_Show_Replicator);
clip = new NF.anim.clip({clip:{start:{value:'0% 100% 100% 0%', refNode:"self"}, end:{value:'50% 50% 50% 50%', refNode:"self"}}}, {frames:6,reset:true,hook:"NFplayOnSubHide"});
var subAnim_Hide_Replicator = new NF.replicator("transition", {master:clip,widgetClass:"nfSubC",widgetLevel:'level>=1'});
myMenu.addReplicator(subAnim_Hide_Replicator);
myMenu.activate();
</script>

